package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 电池资产管理-资产变动记录
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_battery_change")
@ApiModel(value = "ErpBatteryChange对象", description = "电池资产管理-资产变动记录")
public class ErpBatteryChange implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("流水号")
    private String num;

    @ApiModelProperty("运营城市ID")
    private Integer operateId;

    @ApiModelProperty("电池增减，1-增加 2-减少")
    private Integer inoutType;

    @ApiModelProperty("业务类型 11-备品发货 12-备品拨出  13-备品拨入 14-备品丢失 15-备品报废 31-客户发货 32-客户报失")
    private Integer businessType;

    @ApiModelProperty("业务ID")
    private Integer businessId;

    @ApiModelProperty("业务对象类型（1-仓库ID 2-客户ID）")
    private Integer businessObjectType;

    @ApiModelProperty("业务关联名称")
    private String businessName;

    @ApiModelProperty("电池型号ID")
    private Integer batteryModelId;

    @ApiModelProperty("电池数量")
    private Integer batteryNum;

    @ApiModelProperty("附件文件，多文件，逗号隔开")
    private String files;

    @ApiModelProperty("备注说明")
    private String remark;

    @ApiModelProperty("创建人ID")
    private Integer createUser;

    @ApiModelProperty("创建人姓名")
    private String createName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
